package com.kkb.pojo;

import java.io.Serializable;

public class TbRoleAuthority implements Serializable {
    private Integer roleAuthorityId;

    private Integer authorityId;

    private Integer roleId;

    private static final long serialVersionUID = 1L;

    public TbRoleAuthority(Integer roleAuthorityId, Integer authorityId, Integer roleId) {
        this.roleAuthorityId = roleAuthorityId;
        this.authorityId = authorityId;
        this.roleId = roleId;
    }

    public TbRoleAuthority() {
        super();
    }

    public Integer getRoleAuthorityId() {
        return roleAuthorityId;
    }

    public void setRoleAuthorityId(Integer roleAuthorityId) {
        this.roleAuthorityId = roleAuthorityId;
    }

    public Integer getAuthorityId() {
        return authorityId;
    }

    public void setAuthorityId(Integer authorityId) {
        this.authorityId = authorityId;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", roleAuthorityId=").append(roleAuthorityId);
        sb.append(", authorityId=").append(authorityId);
        sb.append(", roleId=").append(roleId);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}